package com.xiaozhengkeji.minecraft.plugin.fishplus.commands;


import com.xiaozhengkeji.minecraft.plugin.fishplus.utils.MsgUtils;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;

/**
 * 玩家命令行
 */
public class PlayerCommand implements CommandExecutor {
    /**
     * 命令触发
     */
    @Override
    public boolean onCommand(CommandSender commandSender, Command command, String s, String[] strings) {
        if (!(commandSender instanceof Player)) {
            MsgUtils.logServer("请在客户端使用!");
            return true;
        }
        Player p = (Player) commandSender;

        return false;
    }
}
